package com.rxh.service.impl.sys;

import com.rxh.mapper.sys.SysNewsMapper;
import com.rxh.pojo.sys.SysNews;
import com.rxh.service.base.AbstractBaseService;
import com.rxh.service.sys.SysNewsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysNewsServiceImpl extends AbstractBaseService<SysNews, String> implements SysNewsService {
    private final SysNewsMapper sysNewsMapper;

    @Autowired
    public SysNewsServiceImpl(SysNewsMapper sysNewsMapper) {
        this.sysNewsMapper = sysNewsMapper;
        setMapper(sysNewsMapper);
    }
}